package com.itheima.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.xo.pojo.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author :WuJunJie
 * packageName :com.itheima.admin.mapper
 * fileName :categoryMapper
 * creationTime :2022-10-28 15:56
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {


    @Update("update category set deleted=null where category_id=#{ID};")
    Boolean cancelDelete(String id);



}
